package com.rt.cms.service;

import com.rt.cms.common.base.Page;
import com.rt.cms.common.base.PageResultSet;
import com.rt.cms.data.dto.company.ArchivesDto;
import com.rt.cms.data.entity.TbCompanyInfo;
import com.rt.cms.data.entity.system.BizException;
import com.rt.cms.data.requestParam.CompanyParam;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ArchivesService {

    int create(TbCompanyInfo tbCompayInfo) throws BizException;

    int update(TbCompanyInfo tbCompanyInfo);

    PageResultSet<ArchivesDto> findByPage(Page page);

    public void delete(Integer id);

    public TbCompanyInfo findById(int id);

    PageResultSet<ArchivesDto> findByStatus(Integer status, Page page,String ids,String comName,Integer checkId,String dormant,String selectType);

    PageResultSet<ArchivesDto> findByDormantStatus(String dormant, Page page,String ids);

        //PageResultSet<ArchivesDto> findGuaranteeDetailById(Integer id);

    ArchivesDto findCompanyDetailById(int id);

    List<ArchivesDto> findGuaranteeDetailById(Integer id);

    PageResultSet<ArchivesDto> findByOperateID(Page page, Integer id);

    PageResultSet<ArchivesDto> selectByUseParam(String status, Page page,String ids,String comName,Integer checkId,String dormant,String comType,String inputTime);

}
